package com.nengchuan.eic.nceconomy.fegin;

import com.nengchuan.eic.nceconomy.entity.dto.CloudFileCalculateDTO;
import com.nengchuan.model.model.WrappedResult;
import com.nsc.boot.common.sdk.msg.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : panwen
 * @description : Report开放API
 * @create: 2020/06/01 14:31
 * @version: 1.0.0
 */
@FeignClient(value = "bimplug-service",url="http://mr87.vicp.net:88/",path = "/api/bim")
public interface ReportFeignService {


    @PostMapping("/dw/index/cloudFileCalculate")
    WrappedResult cloudFileCalculate(@RequestBody CloudFileCalculateDTO dto);

    @GetMapping("/dw/index/cloudFileStatus")
    WrappedResult cloudFileStatus(@RequestParam("fileId") Long fileId);
}
